﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BADDGUI.Controls
{
    public partial class BLCHeaderToolStrip : UserControl
    {
        public BLCHeaderToolStrip()
        {
            InitializeComponent();
        }

        private void tspViewMaster_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {
            if (e.ClickedItem is ToolStripButton)
            {
                switch (((ToolStripButton)e.ClickedItem).Name)
                {
                    case "btnNew":
                        BLCGlobalObject.FrmModuleList.InitDetailForm();
                        break;
                    case "btnCustomize":
                        BLCGlobalObject.FrmFmcs.ShowDialog();
                        break;
                    case "btnRefresh": break;
                }
            }
        }
    }
}
